﻿//
// *************************************************************************************
// WP-Framework
// 
// Developed by
// Lukas Kretschmar (lkretschmar.dev@bluewin.ch)
//
// Switzerland, Copyright (c) 2013 lkretschmar
// This content is released under the MIT License (http://opensource.org/licenses/MIT).
//     
// *************************************************************************************
//
//



using System;
using KretschIT.WP_Fx.EasyMoq.Generator.Configurations;

namespace KretschIT.WP_Fx.EasyMoq.Generator.Tests.Configurations
{
    public class EasyMoqGeneratorImpl : EasyMoqGenerator
    {
        private Action<IEasyMoqConfig> configCall;

        public void SetConfig(Action<IEasyMoqConfig> configCall)
        {
            this.configCall = configCall;
        }

        protected override void Configure(IEasyMoqConfig config)
        {
            configCall(config);
        }
    }
}
